<template>
  <div class="header">
    <img class="logo" src="@/assets/xiaomi-logo.png" alt="Logo">
    <div class="title">小米手机商城</div>
  </div>
</template>

<script setup>

</script>

<style scoped>
.header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
}
.logo {
  display: block;
  width: 32px;
  height: 32px;
}
.title {
  line-height: 2;
}
</style>